
package cn.edu.scau.cmi.hombio.service;

import cn.edu.scau.cmi.hombio.domain.Medicine;
import cn.edu.scau.cmi.hombio.domain.MedicineTake;
import cn.edu.scau.cmi.hombio.domain.MedicineTakeDetail;

import java.util.List;
import java.util.Set;

/**
 * Spring service that handles CRUD requests for MedicineTakeDetail entities
 * 
 */
public interface MedicineTakeDetailService {

	/**
	* Save an existing MedicineTakeDetail entity
	* 
	 */
	public void saveMedicineTakeDetail(MedicineTakeDetail medicinetakedetail);

	/**
	* Return a count of all MedicineTakeDetail entity
	* 
	 */
	public Integer countMedicineTakeDetails();

	/**
	 */
	public MedicineTakeDetail findMedicineTakeDetailByPrimaryKey(Integer id);

	/**
	* Delete an existing MedicineTake entity
	* 
	 */
	public MedicineTakeDetail deleteMedicineTakeDetailMedicineTake(Integer medicinetakedetail_id, Integer related_medicinetake_id);

	/**
	* Delete an existing Medicine entity
	* 
	 */
	public MedicineTakeDetail deleteMedicineTakeDetailMedicine(Integer medicinetakedetail_id_1, Integer related_medicine_id);

	/**
	* Return all MedicineTakeDetail entity
	* 
	 */
	public List<MedicineTakeDetail> findAllMedicineTakeDetails(Integer startResult, Integer maxRows);

	/**
	* Save an existing MedicineTake entity
	* 
	 */
	public MedicineTakeDetail saveMedicineTakeDetailMedicineTake(Integer id_1, MedicineTake related_medicinetake);

	/**
	* Delete an existing MedicineTakeDetail entity
	* 
	 */
	public void deleteMedicineTakeDetail(MedicineTakeDetail medicinetakedetail_1);

	/**
	* Load an existing MedicineTakeDetail entity
	* 
	 */
	public Set<MedicineTakeDetail> loadMedicineTakeDetails();

	/**
	* Save an existing Medicine entity
	* 
	 */
	public MedicineTakeDetail saveMedicineTakeDetailMedicine(Integer id_2, Medicine related_medicine);
}